package lb03ansatztilo;

public abstract class RandVar {
	
	private RNG valueGenerator;
	private long erwartungwert;
	private long varianz;
	private long vdf;
	private long vf;
	private long rv;
			
	protected long getErwartungwert() {
		return erwartungwert;
	}
	
	protected void setErwartungwert(long erwartungwert) {
		this.erwartungwert = erwartungwert;
	}
	
	protected long getVarianz() {
		return varianz;
	}
	
	protected void setVarianz(long varianz) {
		this.varianz = varianz;
	}
	
	protected void setValueGenerator(RNG valueGenerator) {
		this.valueGenerator = valueGenerator;
	}
	
	protected void setSeed(long seed){
		valueGenerator.setSeed(seed);
	}
	
	protected long getRandomNumber(){
		return valueGenerator.getNextRandomValue();
	}
	
	protected void setRv(long rv) {
		this.rv = rv;
	}
	
	protected long getRV(){
		return rv;
	}
	
	protected void setVDF(long vdf){
		this.vdf = vdf;
	}
	
	protected long getVdf() {
		return vdf;
	}
	
	protected void setVf(long vf) {
		this.vf = vf;
	}
	
	protected long getVf() {
		return vf;
	}

}
